﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using LastoRevival.Service.Contracts.Models;

namespace LastoRevival.Service.Contracts
{
	[ServiceContract(Namespace = Constants.ServiceNamespace)]
	public interface IForumService
	{
		[OperationContract]
		IEnumerable<PreviewForumModel> GetVisibleForums(Guid loginToken);

		[OperationContract]
		ViewForumModel GetForumAndThreads(Guid loginToken, int forumID, int currentPage, int pageSize);

		[OperationContract]
		PreviewForumModel GetForum(Guid loginToken, int forumID);

	}
}
